﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace JsonTest1.Data
{
    public class Review
    {
        /**
	 * Numeric id of the review
	 */
        private int id;
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        /**
         * Title of the review
         */
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        /**
         * Text of the review
         */
        private string text;
        public string Text
        {
            get { return text; }
            set { text = value; }
        }

        /**
         * Rating of the review 0..10
         */
        private int rating;
        public int Rating
        {
            get { return rating; }
            set { rating = value; }
        }
        /**
         * Lang the review is written in "fr", "en", "sv",...
         */
        private string lang;
        public string Lang
        {
            get { return lang; }
            set { lang = value; }
        }
        /**
         * array containing the date when the review has been added, and when it has been updated for the last time 	"2005-08-30T19:50:36+01"
         */
        private DateTime[] dates;
        public DateTime[] Dates
        {
            get { return dates; }
            set { dates = value; }
        }
        /**
         * name of the user who wrote the review
         */
        private string userName;
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        /**
         * image of the user who wrote the review
         */
        private string userImage;
        public string UserImage
        {
            get { return userImage; }
            set { userImage = value; }
        }
    }
}
